package net.csdn.business.common.oauth2.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.common.domain.SuperEntity;

import java.util.Date;


/**
 * 应用授权明细对象 oauth_auth_log
 * 
 * @author zhangyl
 * @date 2022-11-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("oauth_auth_log")
public class OauthAuthLog extends SuperEntity<OauthAuthLog>
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 分布式id */
    private String objectId;

    /** 应用的clientId */
    private String clientId;

    /** 用户名 */
    private String userName;

    /** 授权日期 yyyy-MM-dd*/
    private Date authDate;

}
